package cn.com.pxto.model;

public class Contact extends BaseObject {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer cid;
	private String name;
	private Long logonDate;
	private String tel;
	private Integer schoolId;
	private Integer lessonTypeId;
	private String lesson;
	private Integer userId;
	private Long startClassTime;
	private String remark;
	private boolean isContact = true;//电话用户中为了简单，将客户转为contact显示
	public Contact(){
		
	}
	public Contact(Guest guest){
		this.name=guest.getName();
		this.logonDate=guest.getLogonDate();
		this.tel=guest.getTel();
		this.schoolId=guest.getSchoolId();
		this.lessonTypeId=guest.getLessonTypeId();
		this.lesson=guest.getLesson();
		this.userId=guest.getUserId();
		this.startClassTime=guest.getStartClassTime();
		this.remark=guest.getRemark();
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getLogonDate() {
		return logonDate;
	}
	public void setLogonDate(Long logonDate) {
		this.logonDate = logonDate;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public Integer getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}
	public Integer getLessonTypeId() {
		return lessonTypeId;
	}
	public void setLessonTypeId(Integer lessonTypeId) {
		this.lessonTypeId = lessonTypeId;
	}
	public String getLesson() {
		return lesson;
	}
	public void setLesson(String lesson) {
		this.lesson = lesson;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Long getStartClassTime() {
		return startClassTime;
	}
	public void setStartClassTime(Long startClassTime) {
		this.startClassTime = startClassTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public boolean getIsContact() {
		return isContact;
	}
	public void setIsContact(boolean isContact) {
		this.isContact = isContact;
	}
	

}
	
